package com.dsjy.yf.address.entity.dataobject;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author whj
 * @version 1.0
 * @date 2021-01-14 14:35
 */
@Data
@TableName("county")
public class CountyDO implements Serializable {

    private static final long serialVersionUID = -1097243046439123195L;
    @TableId("id")
    private Integer id;
    private Integer countyCode;
    private String countyName;
    private String countyAlias;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp updateTime;
    @JsonIgnore
    private Boolean added;
    @JsonIgnore
    private Boolean deleted;
}
